home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000318_news@newsmaster….columbia.edu _Wed Jun 18 10:50:37 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA16547
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 18 Jun 1997 10:50:36 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA08088
for kermit.misc@watsun; Wed, 18 Jun 1997 10:50:35 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: having trouble receiving a file
Date: 18 Jun 1997 14:50:21 GMT
Organization: Columbia University
Lines: 37
Message-ID: <5o8sjd$7rl$1@newsmaster.cc.columbia.edu>
References: <33A676E9.1980@netscape.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7179
In article <33A676E9.1980@netscape.com>,
David Richardson <davidr@netscape.com> wrote:
: I have a script that is dialing a number, then outputting a key, then
: receiving a file. The remote site is seeing the key but I am not able to
: receive the file. If someone could look at this script and give me some
: ideal what I am doing wrong. I would appreciate it.
:
: set terminal autodownload on
: set terminal debug on
: set transfer display none
: set input echo on
:
: show terminal
:
: call usrobotics /dev/ttyc 9600 9,6666666
:
What if the call is not completed? You need an "if fail" here.
: output \13
: input 10
: if fail end 1 No prompt!
: pause 5
: output 66666\13
:
: pause 10
: if fail end 1 No Prepare system message!!
: output receive\13
:
This sends "receive" and then a carriage return to the other side. Is
that what you want? Are you trying to send a file or receive one?
See the chapters on script programming in the manual, "Using C-Kermit",
for numerous examples of how to do this:
http://www.columbia.edu/kermit/ck60manual.html
- Frank